package org.example.model;

import org.example.constants.FruitConstants;

public class Mango extends Fruit {
    public Mango() {
        super(FruitConstants.MANGO_PRICE_PER_JIN);
    }

    @Override
    public double calculatePrice(int weight) {
        return pricePerJin * weight;
    }
}